/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.playground.core.entity;

/**
 *
 * @author Tiago Peres
 */
public enum PlayerStatus {
    // the user is not connected to the service.
    offline,
    // the user is connected to the service, but not executing any action. He/She 
    // is able to receive any invitations to play.
    online,
    // connected to the service. Not able to receive invitations. This Status is
    // set by the user.
    occupied,
    // connected to the service, unable to receive invitations. Set by the user.
    away,
    // the user is connected to the service and has queued to play a game. The 
    // user is inQueue from the time it queues for a game to the time he accepts
    // to join it or leaves the queue.
    inQueue,
    // the user is connected to the game. The user has queued for a game. The 
    // room became full and playable, a message was sent to the user asking if 
    // he/she was ready to play. The user answered yes.
    ready,
    // the user is playing a game
    playing;
}
